package com.ycl.plus.lm.hardware.domain.bo;

import com.ycl.plus.lm.hardware.domain.HardwareSensorFunc;
import com.ycl.plus.lm.common.mybatis.core.domain.BaseEntity;
import com.ycl.plus.lm.common.core.validate.AddGroup;
import com.ycl.plus.lm.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;

/**
 * 传感器函数业务对象 hardware_sensor_func
 *
 * @author devil-ycl
 * @date 2024-11-07
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = HardwareSensorFunc.class, reverseConvertGenerate = false)
public class HardwareSensorFuncBo extends BaseEntity {


    @NotNull(message = "id不能为空")
    private Long id;

    /**
     * 名称
     */
    private String name;

    /**
     * 传感器id
     */
    private Long sensorId;

    /**
     * 请求地址
     */
    private String requestUrl;


}
